package com.system.healthproject.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import springfox.documentation.annotations.ApiIgnore;

import java.util.List;

@ApiModel
public class SymptomType {

    @ApiModelProperty(name = "symptomtypeId",notes = "症状类型id")
    private Integer symptomtypeId;


    @ApiModelProperty(name = "symptomtypeId",notes = "症状类型id")
    private String symptomtypeName;

    @ApiModelProperty(hidden = true)
    private List<Symptom> symptoms;

    public List<Symptom> getSymptoms() {
        return symptoms;
    }

    public void setSymptoms(List<Symptom> symptoms) {
        this.symptoms = symptoms;
    }

    public SymptomType() {
    }

    public SymptomType(Integer symptomtypeId, String symptomtypeName) {
        this.symptomtypeId = symptomtypeId;
        this.symptomtypeName = symptomtypeName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column symptomType.symptomType_id
     *
     * @return the value of symptomType.symptomType_id
     *
     * @mbg.generated
     */


    public Integer getSymptomtypeId() {
        return symptomtypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column symptomType.symptomType_id
     *
     * @param symptomtypeId the value for symptomType.symptomType_id
     *
     * @mbg.generated
     */
    public void setSymptomtypeId(Integer symptomtypeId) {
        this.symptomtypeId = symptomtypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column symptomType.symptomType_name
     *
     * @return the value of symptomType.symptomType_name
     *
     * @mbg.generated
     */
    public String getSymptomtypeName() {
        return symptomtypeName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column symptomType.symptomType_name
     *
     * @param symptomtypeName the value for symptomType.symptomType_name
     *
     * @mbg.generated
     */
    public void setSymptomtypeName(String symptomtypeName) {
        this.symptomtypeName = symptomtypeName == null ? null : symptomtypeName.trim();
    }
}
